home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Apple Shared Library Manager / ASLM Examples / Inspector / Sources / Application.r < prev    next >
Encoding:
Text File  |  1996-11-19  |  971 b   |  62 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Application.r
  3.  
  4.     Contains:    Resources used by the TApplication class
  5.  
  6.     Copyright:    © 1991-1993 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. #include "SysTypes.r"
  11. #include "Types.r"
  12.  
  13. #include "ApplicationCommon.h"
  14.  
  15. resource 'STR#' (kApplicationErrStrings, purgeable) {
  16.     {
  17.     "You must run on 512Ke or later";
  18.     "Application Memory Size is too small"
  19.     }
  20. };
  21.  
  22.  
  23. /* this ALRT and DITL are used as an error screen */
  24. resource 'ALRT' (rUserAlert, purgeable) {
  25.     {40, 20, 180, 330},
  26.     rUserAlert,
  27.     { /* array: 4 elements */
  28.         /* [1] */
  29.         OK, visible, silent,
  30.         /* [2] */
  31.         OK, visible, silent,
  32.         /* [3] */
  33.         OK, visible, silent,
  34.         /* [4] */
  35.         OK, visible, silent
  36.     }
  37. };
  38.  
  39. resource 'DITL' (rUserAlert, purgeable) {
  40.     { /* array DITLarray: 3 elements */
  41.         /* [1] */
  42.         {110, 220, 130, 300},
  43.         Button {
  44.             enabled,
  45.             "OK"
  46.         },
  47.         /* [2] */
  48.         {10, 60, 90, 300},
  49.         StaticText {
  50.             disabled,
  51.             "Error. ^0."
  52.         },
  53.         /* [3] */
  54.         {8, 8, 40, 40},
  55.         Icon {
  56.             disabled,
  57.             2
  58.         }
  59.     }
  60. };
  61.  
  62.